@model OurWedding1.Models.HomePageParagraph

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>HomePageParagraph</legend>

    <div class="display-label">Name</div>
    <div class="display-field">@Model.Name</div>

    <div class="display-label">Position</div>
    <div class="display-field">@Model.Position</div>

    <div class="display-label">Content</div>
    <div class="display-field">@Model.Content</div>

    <div class="display-label">IsPublished</div>
    <div class="display-field">@Model.IsPublished</div>

    <div class="display-label">PublishedDate</div>
    <div class="display-field">@String.Format("{0:g}", Model.PublishedDate)</div>

    <div class="display-label">ControllerName</div>
    <div class="display-field">@Model.ControllerName</div>

    <div class="display-label">ActionName</div>
    <div class="display-field">@Model.ActionName</div>

    <div class="display-label">Parameter</div>
    <div class="display-field">@Model.Parameter</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.HomePageParagraphId }) |
    @Html.ActionLink("Back to List", "Index")
</p>


